package com.jack.base.desiginmodel.decorator;

/**
 * Created by zhang_j on 2019/12/23
 */
public abstract class DecoratorShape implements Shape{
    protected Shape shape;
    DecoratorShape(Shape shape){
        this.shape = shape;
    }

    @Override
    public void draw(){
        shape.draw();
    }
}
